package com.ruoyi.common.enums;

/**
 * 申请单状态
 *
 * @author ruoyi
 */
public enum ReleaseManageStatus {
    NEW_SETUP("new_setup", "新建", 1),
    WAIT_REPLY("wait_reply", "待回复", 2),
    RELATE_PO_SUPPORT("relate_po_support", "支持", 3),
    RELATE_PO_NOT_SUPPORT("relate_po_not_support", "无法支持", 4),
    WAIT_APPROVE("wait_approve", "待审批", 5),
    IN_APPROVAL("in_approval", "审批中", 6),
    APPROVED("approved", "审批完成", 7),
    ONLINE_FINISH("online_finish", "上线完成", 8),
    RELATE_SYS_CHECKED("relate_sys_checked", "检查完成", 9),
    RELATE_PO_CONFIRMED("relate_po_confirmed", "关联PO已确认", 10),
    REFUSED("refused", "审批拒绝", 11),
    WAIT_CLOSE("wait_close", "待关闭", 12),
    PO_CLOSED("po_closed", "已关闭", 13),
    CANCELLED("cancelled", "作废", 14);

    private final String en;
    private final String cn;
    private final int step;

    ReleaseManageStatus(String en, String cn, int step) {
        this.en = en;
        this.cn = cn;
        this.step = step;
    }

    public String getEn() {
        return en;
    }

    public String getCn() {
        return cn;
    }

    public int getStep() {
        return step;
    }
}
